package com.fl.ui;

import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

import com.fl.util.ContentUtil;

public class WelcomeUI extends SubUIModule {

	@Override
	public String getName() {
		// 返回名称
		return ContentUtil.getString("WelcomeUI.tooltip");
	}

	public WelcomeUI(WorkUI swingset) {
		
		//固定代码WelcomeUI为class名称
		super(swingset, "WelcomeUI"
				, "toolbar/JButton.gif");

		JPanel panel = getSubUIPanel();
		panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));
		
		
		JLabel lblNewLabel = new JLabel(ContentUtil.getString("WelcomeUI.content"));
		panel.add(lblNewLabel);
		
	}

}
